/*
 * Copyright (C) 2010-2010 MaoJian Wu
 *
 * Author:
 *	MaoJian Wu
 *
 * Source:
 *	
 *
 * This file is a part of zfspear library.
 *
 *
 */

#ifndef XMPPCONFIGURATION_H
#define XMPPCONFIGURATION_H

#include <QString>
#include <presence.h>
class XmppConfiguration
{
public:
    XmppConfiguration();
    QString host();
    void set_host(const QString& host);
    int port();
    void set_port(int port);
    QString user();
    void set_user(const QString& user);
    QString passwd();
    void set_passwd(const QString& passwd);
    QString domain();
    void set_domain(const QString& domain);
    QString resource();
    void set_resource(const QString& resource);
    QString GetJid() const;
    QString GetJidBare() const;
    void SetShowType(Presence::ShowType showType);
    Presence::ShowType GetShowType();
    void SetPresenceStatus(const QString& status);
    QString GetPresenceStatus();
private:
    QString host_;
    int port_;
    QString user_;
    QString passwd_;
    QString domain_;
    QString resource_;
    Presence::ShowType showType_;
    QString presence_status_;
};

#endif // XMPPCONFIGURATION_H
